﻿using Inovout.Gis.Data;
using System.Data;
using NHibernate.Driver;

namespace Inovout.ArcGis.Data
{
    public class ArcGisCommand : GisCommand
    {
        internal ArcGisCommand(DriverBase rmdbDrive)
            : base(rmdbDrive)
        {
        }

        public override int ExecuteNonQuery()
        {
            //获取第一个字符串，最好有正则表达式。INNSERT SELECT  UPDATE DELETE
            //字符串，大小写。如有非英文，还需考虑区域化。


            //判断当前这个COMMAND是哪个操作
            //I 用ARCGIS
            //D 
            //G
            return base.ExecuteNonQuery();
        }

        protected override System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior)
        {
            throw new System.NotImplementedException();
        }
    }
}
